home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: VC++ 2.0 Console App. (NT)
- Date: 31 Jan 1996 17:32:23 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4eo937$lgo@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 30, 1996 18:44:34 in article <VC++ 2.0 Console App. (NT)>, 'Jim
- Dolan <dolan>' wrote:
-
-
- >Hello,
- >
- >I've got a quick question for anyone using Visual C++ 2.0 under NT. I'm
- just
- >writing some simple utility routines for school. When I build a WinRelease
-
- >version of the code and run it from a console window it works fine as long
- as
- >I'm in the same directory as the executable or if I explicitly put the
- path to
- >the executable on the command line. If I place the executable in my path
- and
- >reference it, I get a blurb saying something about a bat file could not be
-
- >found. What's a batch file got to do with this? who knows. Anybody else
- run
- >into this and know how to create a true standalone Console Application?
- >
-
- 1.
- Chances are that there is a .bat file by the same name as your executable
- somewhere in your search path. Look for it. Then try renaming your
- executable and see if you get the same behavior.
-
- 2.
- What's the name of your executable? Is it the same as one of the
- ystem's commands?
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-